# # -*- coding: utf-8 -*-
# # @Time : 2024/6/11 10:04 PM
# # @Author : Wayne
# # @Email : 1
# # @File : check.py
# # @Project : young_python_demo
# # @DESCRIPTION :
# from apigwclient import config
# from apigwclient.client import HTTPClient
# from apigwclient.utils import log
# from testcase.demo_data import DemoUrlList
# # 初始化客户端
# client = HTTPClient(clientId=config.clientId, clientSecret=config.clientSecret)
#
# # 格式化请求
# rs = client.format_requests(DemoUrlList)
#
# # 发起请求
# responses = client.map_request(rs)
#
# # 查看返回结果
# for i in responses:
#     log.info(f'{i.request.method}, {i.url},{ i.json()}')
#
# # get
# {
#     'method': 'get',
#     'host': 'https://api.kingdee.com',
#     'path': '/jdyconnector/app_management/kingdee_auth_token',
#     'params': {
#         "app_key":"app_key参数",
#         "app_signature":"app_signature参数"
#     },
#     'headers': {
#         'X-Api-Nonce': '2037025251',
#         'X-Api-TimeStamp': '1672282458070'
#     }
# }
#
# # 其他请求类型等、上传文件等，参考DemoUrlList
